package com.study_online.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author 张天霸
 */
public class TimeUtils {

    public static String getTime(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
        Date date = new Date();
        String format = sdf.format(date);
        return format;
    }

}